//
//  HBQsmListModel.m
//  HelloBeeQuick
//
//  Created by 李建强 on 16/8/20.
//  Copyright © 2016年 LiYiLin. All rights reserved.
//

#import "HBQsmListModel.h"

@implementation HBQsmListModel

+(instancetype)listModelWithDict:(NSDictionary *)dict{
    
    
    HBQsmListModel *model = [[HBQsmListModel alloc]init];
    
    [model setValuesForKeysWithDictionary:dict];
    
    
    
    
    return model;
}

-(void)setValue:(id)value forKey:(NSString *)key{
    
    
    
    if ([key isEqualToString:@"id"]) {
        
        self.contentId = value;
    }else{
        
        [super setValue:value forKey:key];
    }
    
}


-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    
}


-(NSString *)description{
    
    
    return [NSString stringWithFormat:@"名称:%@,内容id:%@",self.name,self.contentId];
    
}



@end
